<div class="form-horizontal">

<?php if(isset($detail_data) and $detail_data)
{
?>
<div class="control-group">

    <!-- Text input-->
    <label class="control-label" >供应商ID：</label>
    <div class="controls">
        <span><?php echo isset($detail_data['supplier_id'])?$detail_data['supplier_id']:''?></span>
    </div>
</div>

<div class="control-group">

    <!-- Text input-->
    <label class="control-label" >供应商名称：</label>
    <div class="controls">
        <span><?php echo isset($detail_data['supplier_name'])?$detail_data['supplier_name']:''?></span>
    </div>
</div>

<div class="control-group">
    <label class="control-label">付款类型：</label>

    <div class="controls">
        <span><?php echo isset($detail_data['paywayname'])?$detail_data['paywayname']:''?></span>
    </div>
</div>
    <?php if($detail_data['coinid']==1){?>
    <div class="control-group">
        <label class="control-label">开户银行：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankname'])?$detail_data['bankname']:''?></span>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label">帐号：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankaccount'])?$detail_data['bankaccount']:''?></span>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label">帐户名：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankaccountname'])?$detail_data['bankaccountname']:''?></span>
        </div>
    </div>
<?php }else{?>
    <div class="control-group">
        <label class="control-label">收款银行名称：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankname'])?$detail_data['bankname']:''?></span>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label">收款银行地址：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankaddress'])?$detail_data['bankaddress']:''?></span>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label">收款人账户号码/IBAN：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankaccount'])?$detail_data['bankaccount']:''?></span>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">收款人名称：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankaccountname'])?$detail_data['bankaccountname']:''?></span>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label">收款人地址：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankmanaddress'])?$detail_data['bankmanaddress']:''?></span>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label">银行代码SWIFT：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['bankswift'])?$detail_data['bankswift']:''?></span>
        </div>
    </div>
        <?php }?>
    <div class="control-group">
        <label class="control-label">审核状态：</label>

        <div class="controls">
            <span><?php echo isset($detail_data['check_status_string'])?$detail_data['check_status_string']:''?></span>
        </div>
    </div>

    <!--<div class="control-group">
        <label class="control-label">使用状态：</label>

        <!-- Multiple Checkboxes -->
        <!--<div class="controls">-->
            <!--<span>--><?php /*echo isset($detail_data['active_status_string'])?$detail_data['active_status_string']:''*/?><!--</span>-->
        <!--</div>-->
    <!--</div>-->

    <!-- Button -->
<div class="controls">

        <input type="button" value="返回" class="btn btn-info"
               onclick="javascipt:history.back()" />
        <a href="<?php echo url::base(true).'supplier/supplierbank/edit?id='.(isset($detail_data['id'])?$detail_data['id']:0)?>">编辑信息</a>
        <!--<a>添加银行帐号</a>-->
</div>
<?php }?>
</div>